5c1be6
@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2015 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
  * the License. You may obtain a copy of the License at
@@ -35,6 +35,7 @@
import org.apache.commons.logging.LogFactory;
 
 import org.springframework.amqp.AmqpAuthenticationException;
 import org.springframework.amqp.AmqpException;
+import org.springframework.amqp.AmqpIOException;
 import org.springframework.amqp.AmqpRejectAndDontRequeueException;
 import org.springframework.amqp.core.AcknowledgeMode;
 import org.springframework.amqp.core.Message;
@@ -441,7 +442,7 @@
public class BlockingQueueConsumer {
 			}
 			catch (IOException e) {
 				this.activeObjectCounter.release(this);
-				throw new FatalListenerStartupException("Cannot set basicQos.", e);
+				throw new AmqpIOException(e);
 			}
 		}
 
